﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
public partial class Script_ImgChangePath : BasePage
{      
    protected StringBuilder stbJs = new StringBuilder();

    protected void Page_Load(object sender, EventArgs e)
    {
        stbJs.AppendLine("  <!--");
        stbJs.AppendLine(" $(document).ready(function() {");
        stbJs.AppendLine(" $('img').each(");
        stbJs.AppendLine(" function(){");
        stbJs.AppendLine("");
        stbJs.AppendLine(" this.src='" + configInfo.InstallDir+Request["mbid"] + "'+$(this).attr('src')");
        stbJs.AppendLine(" });");
        //stbJs.AppendLine(" alert( $('#EditDiv').find('img')[0].src);");
        stbJs.AppendLine("  });");
        stbJs.AppendLine("//-->");


    }



}
